function [x_ya2_vec] = ya2_vec(x)
x_ya2_vec=[(1/70452500000).*(329502525.*cos(x(3)) + (-3306401425).*sin(x(3)) ...
   + (-24488853992).*sin(x(3) + x(4)) + (-20561953032).*sin(x(3) +  ...
  x(4) + x(5)) + (-6540376590).*sin(x(3) + x(4) + x(5) + x(6)) +  ...
  7853801920.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7)) +  ...
  1804210008.*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x( ...
  8)) + (-2122690952).*sin(x(3) + x(4) + x(5) + x(6) + (-1).*x(7) +  ...
  (-1).*x(8) + (-1).*x(9)) + 67575000000.*x(1));(1/70452500000).*( ...
  3306401425.*cos(x(3)) + 24488853992.*cos(x(3) + x(4)) +  ...
  20561953032.*cos(x(3) + x(4) + x(5)) + 6540376590.*cos(x(3) + x(4) ...
   + x(5) + x(6)) + (-7853801920).*cos(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7)) + (-1804210008).*cos(x(3) + x(4) + x(5) + x(6) + (-1).* ...
  x(7) + (-1).*x(8)) + 2122690952.*cos(x(3) + x(4) + x(5) + x(6) + ( ...
  -1).*x(7) + (-1).*x(8) + (-1).*x(9)) + 329502525.*sin(x(3)) +  ...
  67575000000.*x(2));x(4) + x(5) + x(6);(-254/625).*(sin(x(4)) +  ...
  sin(x(4) + x(5)) + (-2).*cos((1/2).*x(8)).*sin(x(4) + x(5) + x(6)  ...
  + (-1).*x(7) + (-1/2).*x(8)));(127/2500).*(1 + 8.*cos(x(4)) + 8.* ...
  cos(x(4) + x(5)) + (-8).*cos(x(4) + x(5) + x(6) + (-1).*x(7)) + ( ...
  -8).*cos(x(4) + x(5) + x(6) + (-1).*x(7) + (-1).*x(8)));x(4) + x( ...
  5) + x(6) + (-1).*x(7) + (-1).*x(8) + (-1).*x(9)];
